package com.suke.czx.modules.performance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suke.czx.common.utils.R;
import com.suke.czx.modules.performance.entity.Performance;
import com.suke.czx.modules.performance.entity.PerformanceSearchBo;

import javax.servlet.http.HttpServletResponse;

/**
 * 应用模块名称: 绩效
 * 代码描述: 绩效业务层接口
 * copyright: AUZAR ALL RIGHTS RESERVED
 * company: AUZAR
 *
 * @author: 颜米晨
 * @date: 2021/09/27 2:35
 */
public interface PerformanceService extends IService<Performance> {

    /**
     * 分页查询绩效列表
     * @param performanceSearchBo 查询BO
     * @return VO
     */
    R pagePerformanceList(PerformanceSearchBo performanceSearchBo);

    /**
     * 删除绩效
     * @param performanceId 绩效编码
     * @param userId 操作者编码
     * @return VO
     */
    R updateDelPerformance(Long performanceId, Long userId);

    /**
     * 导出绩效
     * @param performanceSearchBo 查询BO
     * @param response 响应
     */
    void exportPerformance(PerformanceSearchBo performanceSearchBo, HttpServletResponse response);

}
